<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript" src="http://www.w3school.com.cn/jquery/jquery-1.11.1.min.js"></script>
		<script type="text/javascript" src="js/jquery.color.js"></script>
	</head>
	
	<body>
		
		<input  type="text" class="red"/>
		<input  type="text" class="red"/>
		<input  type="text" class="red"/>
		<input  type="text" class="red"/>
		<input  type="text" class=""/>
	</body>
</html>
<script type="text/javascript">
	



//js插件的封装\n
FilePreviewer.prototype = {
    preViewFile:function (dataId,viewId,data) {
        console.log(arguments);

        


    }
    
}

function FilePreviewer() {
}




//光标放在最后 $("#文本框ID").textFocus();光标放在第二个字符后面 $("#文本框ID").textFocus(2);

	$(function(){
			
		var _filePreviewer = new FilePreviewer();
		_filePreviewer.preViewFile("123","456",{a:1});
		
		$(".red").colorRed({color:"blue"});
		
	});
 
	
</script>
